package com.yx.robot.bean.robot;

public class CleanStatistics implements Clear {
    /**
     * "cleanTime"	int		当前清扫时间
     * "historyTime"			历史清扫时间
     * "cleanArea"	float	㎡	当前清扫面积
     * "historyArea"			历史清扫面积  单位为秒
     * "cleanCount"	int		历史清扫次数
     */
    private int cleanTime;
    private int historyTime;
    private int cleanArea;
    private int historyArea;
    private int cleanCount;

    public int getCleanTime() {
        return cleanTime;
    }

    public void setCleanTime(int cleanTime) {
        this.cleanTime = cleanTime;
    }

    public int getHistoryTime() {
        return historyTime;
    }

    public void setHistoryTime(int historyTime) {
        this.historyTime = historyTime;
    }

    public int getCleanArea() {
        return cleanArea;
    }

    public void setCleanArea(int cleanArea) {
        this.cleanArea = cleanArea;
    }

    public int getHistoryArea() {
        return historyArea;
    }

    public void setHistoryArea(int historyArea) {
        this.historyArea = historyArea;
    }

    public int getCleanCount() {
        return cleanCount;
    }

    public void setCleanCount(int cleanCount) {
        this.cleanCount = cleanCount;
    }


    @Override
    public void clear() {
        cleanTime = 0;
        historyTime = 0;
        cleanArea = 0;
        historyArea = 0;
        cleanCount = 0;
    }
}
